#ifndef RUNNINGSELFCHECKING_H
#define RUNNINGSELFCHECKING_H

#include <QWidget>
#include <QTimer>
#include <QMessageBox>
#include <QDebug>
#include <QApplication>

#include "InstructionsService.h"
#include "QPCRDB.h"
#include "mainwindow.h"
#include "global.h"
#include "custommessagebox.h"
#include "UiStruct.h"

namespace Ui {
class RunningSelfChecking;
}

class RunningSelfChecking : public QWidget
{
    Q_OBJECT

public:
    explicit RunningSelfChecking(QWidget *parent = nullptr);
    ~RunningSelfChecking();

private:
    Ui::RunningSelfChecking *ui;
    DeviceManagement * deviceManagement;
    MainWindow *m;
    int connected;
    QString selfChecking;
    QTimer *timer;
    ConnectedDeviceStruct cDev;
    CustomMessageBox *cusMsg;

private:

    void sleep(int); // 休眠函数

signals:

};

#endif // RUNNINGSELFCHECKING_H
